package com.example.zhuyu.basemvp.base;

import com.example.zhuyu.basemvp.http.IRetrofitManager;

/**
 * @author zhuyu
 * @date 2019/2/21
 * @desc
 */
public class BaseModel implements IModel {

    protected IRetrofitManager mRetrofitManager;

    public BaseModel(IRetrofitManager IRetrofitManager) {
        mRetrofitManager = IRetrofitManager;
    }

    @Override
    public void onDestroy() {

        if (mRetrofitManager!=null){
            mRetrofitManager = null;
        }
    }
}
